package com.ferry.wallpaper.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
*  amdin
* @author 大狼狗 2020-12-10
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "ADMIN")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @TableId(value = "ADMIN_ID",type = IdType.ID_WORKER)
    private Long adminId;

    /**
    * 邮箱
    */
    @TableField(value = "ADMIN_EMAIL")
    private String adminEmail;

    /**
    * amdin_password
    */
    @TableField(value = "ADMIN_PASSWORD")
    private String adminPassword;
}
